package com.rskj.cashbook.service;

import com.rskj.cashbook.response.ResponseEntity;
import com.rskj.cashbook.vo.UserInfo;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface IUserInfoService {
    public UserInfo getUserInfo(UserInfo userInfo);

    UserInfo addUserInfo(UserInfo userInfo);

    String getCurrUsername();

    ResponseEntity<Object> updatePassword(UserInfo userInfo);

    ResponseEntity<Object> logout(HttpServletRequest request, HttpServletResponse response);
}
